﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Text;

namespace LongQuanWeb.UserModule
{
    public partial class StudentIndex : System.Web.UI.Page
    {
        private string m_CurrentUserID = null;
        private DBHelper.BLL.Users m_UserLoader = null;
        private DBHelper.Model.Users m_CurrentUser;
        protected void Page_Load(object sender, EventArgs e)
        {
            if (null != Session["UserID"] && "" != Session["UserID"].ToString())
            {
                m_CurrentUserID = Session["UserID"].ToString();
            }
            else
            {
                m_CurrentUserID = "Guest";
            }

            lbl_message.Text=string.Format("您有{0}条消息，请注意查收！",;
            lbl_message.ForeColor = System.Drawing.Color.Blue;
            m_UserLoader = new DBHelper.BLL.Users();
            m_CurrentUser = m_UserLoader.GetModel(m_CurrentUserID);
            
        }
    }
}
